package com.hbnu.entity;

import java.time.LocalDateTime;

public class ShareStat {
    //用于判断自己不能保存自己
    private String uid;
    private int id;
    private int fid;
    private long size;
    private String uuid;//分享码
    private String pwd;//密码
    private LocalDateTime time;//到期时间
    private String text;//到期时间

    public ShareStat() {
    }

    public ShareStat(String uid, int fid, long size,String text) {
        this.uid=uid;
        this.fid=fid;
        this.size=size;
        this.text=text;
    }

    public ShareStat(int id,int fid, String uuid, String pwd, LocalDateTime time, long size) {
        this.id =id;
        this.uuid=uuid;
        this.fid=fid;
        this.pwd=pwd;
        this.size=size;
        this.time=time;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }
}
